package com.epidemic.project.system.schedule.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.epidemic.framework.aspectj.lang.annotation.Excel;
import com.epidemic.framework.web.domain.BaseEntity;

/**
 * 课程对象 sys_schedule
 *
 * @author sys
 * @date 2023-02-01
 */
public class SysSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 科目 */
    @Excel(name = "科目")
    private String title;

    /** 摘要 */
    @Excel(name = "摘要")
    private String content;

    /** 年 */
    @Excel(name = "年")
    private Long year;

    /** 月 */
    @Excel(name = "月")
    private Long month;

    /** 天 */
    @Excel(name = "天")
    private Long day;

    /** 时 */
    @Excel(name = "时")
    private Long hour;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    private String totalTime;

    private Long points;

    public Long getPoints() {
        return points;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public String getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(String totalTime) {
        this.totalTime = totalTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setYear(Long year)
    {
        this.year = year;
    }

    public Long getYear()
    {
        return year;
    }
    public void setMonth(Long month)
    {
        this.month = month;
    }

    public Long getMonth()
    {
        return month;
    }
    public void setDay(Long day)
    {
        this.day = day;
    }

    public Long getDay()
    {
        return day;
    }
    public void setHour(Long hour)
    {
        this.hour = hour;
    }

    public Long getHour()
    {
        return hour;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("hour", getHour())
            .append("userId", getUserId())
            .toString();
    }
}
